<!--#include file="Hr_Inc.asp" -->
<%
If Request.ServerVariables ("Request_Method")="POST" Then
	If reform("action")="comment_add" Then 
		Call Save_Comment()
	End If 
Else
	Call Get_Hr_Info() 
End If 
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="robots" content="all" />
<meta name="author" content="963123.com" />
<meta name="Copyright" content="Copyright (c) 2010 963123.com" />
<meta name="Description" content="海南家政信息服务平台" />
<meta name="Keywords" content="海南家政网,家政,家教,家庭服务,保洁,保姆,护理,钟点工,海南旅游,海南美食,生活,生活服务" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><%=Truename%>_人才_海南家政信息服务请拔963123_家政_海南家政信息服务平台</title>
<link href="/skin/lafot/hrview.css" rel="stylesheet" type="text/css" media="screen" />
<script src="/javascript/comment.js" type="text/javascript"></script>
<script type="text/javascript" src="/javascript/JQ/all/jquery.tools.min.js"></script>
<script language="JavaScript" type="text/javascript" src="/javascript/DatePicker/WdatePicker.js"></script>
<script src="javascript/comment.js" type="text/javascript"></script>
<script src="javascript/hr.js" type="text/javascript"></script>
</head>
<body>
<!--#include Virtual="/include/head.asp" -->
<!--E:Header-->
<div id="current">
  <div class="m">
    <p class="idata tl">您的当前位置：<a href="/"><strong>首页</strong></a> > <a href="/hr/">人才</a> > <a href="/hr/family_hr.asp">海南省家政人力资源库</a> > <%=TrueName%></p>
  </div>
</div>

<div id="content">
  <div class="m">
    <div class="vperson">
    
        <div class="vperson-l">
        
            <div class="person_inc">
                <div class="person_picture">
                
                <p><img alt="<%=TrueName%>" src="<%=photo%>" /></p>
                <p>编号：A201254</p>
                <p><a href="#">雇主评价(20)</a></p>
                
                
                </div>
                
                <dl>
                    <dt><span>姓　　名：</span><%=TrueName%></dt>
                    <dd><span>服务状态：</span><%=Service_Status%></dd>
                    
                    <dd><span>性　　别：</span><%=Sex%></dd>
                    <dd><span>工作经验：</span><%=Work_Year%></dd>
                    
                    <dd><span>属　　相：</span><%=Birthday%></dd>
                    <dd><span>联系方式：</span><%=Tel%></dd>
                    
                    <dd><span>籍　　贯：</span><%=Location%></dd>
                    <dd><span>文化程度：</span><%=Education%></dd>
                    
                    <dd><span>婚　　否：</span><%=Married%></dd>
                    <dd><span>特　　长：</span><%=Special%></dd>
                    
                    <dd><span>健 康 证：</span><%=Health_Car%></dd>
                    <dd><span>服务公司：</span><%=Service_Corp%></dd>
                    
                    <dd class="all"><span>服务项目：</span><%=Service_Item%> </dd>
                    <dd class="all order"><button class="orderbtn modalInput" rel="#yesno">我要请她</button></dd>
                </dl>
            </div>
            <!-- E:Person_inc -->
            
            <div class="Person_commend">
                <h3>雇主评价</h3>
   				 <% 
				 Sql  = "SELECT UserName,Comment,Comment_Item,Comment_Item1,Update_Date FROM Member_Person_Comment WHERE HR_ID="&HR_ID
				 Array_List = GetRsRows(Sql)
				 If IsArray(Array_List) Then 
					For i=0 To UBound(Array_List,2)

						Comment_UserName= Array_List(0,i)
						Comment			= encode_article(Array_List(1,i))

						Comment_Item	= Array_List(2,i)
						Comment_Item1	= Array_List(3,i)

						Update_Date		= Array_List(4,i)

				%>             
                <div class="commend_inc">
                    <div class="commend_im"><p><img src="/images/uesr/default.png" /></p><p><%=Comment_UserName%></p></div>
                    <div class="commend_replay">
                        <p class="post">发表时间：<%=Update_Date%>  
						服务技能：<% Call Get_Comments_Icon(Comment_Item) %> 
						服务效率：<% Call Get_Comments_Icon(Comment_Item1) %>
						</p>
                        <p><%=Comment%></p>
                    </div>
                </div>
				<%
				Next
				End If 
				%>                
                
               
            </div>
            <!-- E:Person_commend -->
            
            <div class="post_commend">
			    <form action="detail.asp" onsubmit="return VerifyInput_Comment();" method="post">

                <h3>发布评价</h3>
                <div class="post_inc">


                <p>
				<script language="javascript">
				<!--
				var biz_specail;
				var biz_specail = new Array("服务技能","服务效率");
				for(i=0;i<biz_specail.length;i++)
					{
					prtf(""+biz_specail[i]+"：<input type=hidden name='comment_item"+(i+1)+"' id='comment_item"+(i+1)+"'>");
					initChgK('comment_item'+(i+1), 'shw_app'+i);
					prtf("");						 		
					}
				//-->	
				</script></p>
                <p><textarea id="comment_content" name="comment_content" class="personpost" style="overflow:hidden"></textarea></p>
                <p class="order"><button class="orderbtn" type="submit">提交评价</button></p>
                </div>
			<input type="hidden" name="hr_id" value="<%=hr_id%>">
			<input type="hidden" name="action" value="comment_add">

    </form>

            </div>
            
        </div>
        <!-- E:Vperson left -->
        <div class="vperson-r">
            <div class="commend_person">
            <h3>相关推荐</h3>
            <div class="commend_hr">
            <ul>
				<% Call HR_Recommend_List() %>
            </ul>
            </div>
            <h3>推荐企业</h3>
            <div class="corp_top">
				<% Call Recomment_Corp_List() %>
            </div>
            
            </div>
            
        </div>
        <!-- E:vperson right -->
    </div>
    <!-- E:vperson -->
<style type="text/css">


.modal {
	background-color:#fff;
	display:none;
	width:550px;
	height:400px;
	padding:15px;
	text-align:left;
	border:2px solid #333;

	opacity:0.8;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	-moz-box-shadow: 0 0 50px #ccc;
	-webkit-box-shadow: 0 0 50px #ccc;
}

.modal h2 {
	padding:10px 0 5px 5px;
	border-bottom:1px solid #333;
	font-size:14px;
}
.modal h2 span{
    font-size:12px;
    font-weight:normal;
    cursor:pointer;
}
</style>

<!-- yes/no dialog -->
<div class="modal" id="yesno">
	<h2><span class="right close">关闭</span>家政雇工预约申请</h2>
	<form action="success.asp" method="post" id="emp" onsubmit="return VerifyInput_HR_Order();" >
    <div class="employerinfo">
        <ul>
            <li><label>雇主姓名：</label><input name="order_name" id="order_name" type="text" /></li>
            <li><label>联系电话：</label><input name="order_tel" id="order_tel" type="text" /></li>
            
            <li><label>服务对象：</label><input name="order_service_to" id="order_service_to"  type="text" /></li>
            
            
            <li><label>计划薪酬：</label><input name="order_pay" id="order_pay"  type="text" /></li>
            <li><label>用工时间：</label><input name="order_date" id="order_date" type="text"  /></li>
            <li><label>是否住家：</label><input name="order_home" type="radio" checked />是<input name="order_home" type="radio" />否</li>
            <li class="log"><label>家庭地址：</label><input name="order_address" id="order_address" type="text" style=" width:420px;" /></li>
            <li class="log"><label>所需服务：</label><% Call Get_Order_Service_Item() %></li>
            <li class="log"><label>备　　注：</label><textarea id="order_remark" name="order_remark" class="employerarea" style="overflow:hidden"></textarea></li>
        </ul>
    </div>


	<p style="padding:10px 0 0 60px;"><button type="submit" class="orderbtn"> 提交申请 </button></p>
	<input type="hidden" name="Corp_Name" value="<%=Corp_Name%>">
	<input type="hidden" name="Truename" value="<%=Truename%>">
	</form>
</div>


<script type="text/javascript">

$(document).ready(function() {

$("#emdate").focus(function(){WdatePicker({dateFmt:'yyyy/MM/dd',minDate:'%y/%M/#{%d}'})});

var triggers = $("button.modalInput").overlay({

	// some expose tweaks suitable for modal dialogs
	expose: {
		color: '#333',
		loadSpeed: 200,
		opacity: 0.4
	},

	closeOnClick: false
});


//var buttons = $("#yesno button").click(function(e) {
//	
//	// get user input
//	//var yes = buttons.index(this) === 0;

//	// do something with the answer
//	//triggers.eq(0).html("You clicked " + (yes ? "yes" : "no"));
//});


$("#yesno form").submit(function(e) {

	// close the overlay
	//triggers.eq(1).overlay().close();

	// get user input
	//var input = $("input", this).val();

	// do something with the answer
	//triggers.eq(1).html(input);

	// do not submit the form
	//return e.preventDefault();
});

});
</script>



    
    
  </div>
  
</div>
<!--#include Virtual="/include/bottom.asp" -->

</body>
</html>
